<!doctype html>
<html class="no-js">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>JFinal-BBS 管理后台</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="alternate icon" type="image/png" href="${ctxPath}/favicon.ico">
    <link rel="stylesheet" href="${ctxPath}/static/ext/amazeui/assets/css/amazeui.min.css"/>
    <link rel="stylesheet" href="${ctxPath}/static/ext/amazeui/assets/css/admin.css">
</head>

<body>
<!--[if lte IE 9]>
<p class="browsehappy">你正在使用<strong>过时</strong>的浏览器，Amaze UI 暂不支持。 请 <a href="http://browsehappy.com/" target="_blank">升级浏览器</a>
    以获得更好的体验！</p>
<![endif]-->
<header class="am-topbar admin-header">
    <div class="am-topbar-brand">
        <strong>JFinal-BBS</strong>
        <small>管理后台</small>
    </div>
    <button class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-show-sm-only" data-am-collapse="{target: '#topbar-collapse'}">
        <span class="am-sr-only">导航切换</span>
        <span class="am-icon-bars"></span>
    </button>

    <div class="am-collapse am-topbar-collapse" id="topbar-collapse">
        <ul class="am-nav am-nav-pills am-topbar-nav am-topbar-right admin-header-list">
            <li class="am-dropdown" data-am-dropdown>
                <a class="am-dropdown-toggle" data-am-dropdown-toggle href="javascript:;">
                    <span class="am-icon-users">
                        </span> 管理员 <span class="am-icon-caret-down">
                    </span>
                </a>
                <ul class="am-dropdown-content">
                    <li><a href="${ctxPath}/ucenter/information"><span class="am-icon-user"></span> 资料</a></li>
                    <li><a href="javascript:logout();"><span class="am-icon-power-off"></span> 退出</a></li>
                </ul>
            </li>
            <li class="am-hide-sm-only">
                <a href="javascript:;" id="admin-fullscreen">
                    <span class="am-icon-arrows-alt"></span>
                    <span class="admin-fullText">开启全屏</span>
                </a>
            </li>
        </ul>
    </div>
</header>
@ // 用于打开某个菜单
@ var dockerIn = isEmpty(dockerIn) ? '' : 'am-in';
@ var appIn    = isEmpty(appIn)    ? '' : 'am-in';
@ var userIn   = isEmpty(userIn)   ? '' : 'am-in';
@ var serverIn = isEmpty(serverIn) ? '' : 'am-in';
@ var moneyIn  = isEmpty(moneyIn)  ? '' : 'am-in';
@ var systemIn = isEmpty(systemIn) ? '' : 'am-in';
@ var articleIn = isEmpty(articleIn) ? '' : 'am-in';
@ var bbsIn = isEmpty(bbsIn) ? '' : 'am-in';
<div class="am-cf admin-main">
    <!-- sidebar start -->
    <div class="admin-sidebar am-offcanvas" id="admin-offcanvas">
        <div class="am-offcanvas-bar admin-offcanvas-bar">
            <ul class="am-list admin-sidebar-list">
                <li>
                    <a href="${ctxPath}/admin"><span class="am-icon-home"></span> 首页</a>
                </li>
                <li class="admin-parent">
                    <a class="am-cf" data-am-collapse="{target: '#collapse-docker'}">
                        <span class="am-icon-cloud"></span> 帖子管理
                        <span class="am-icon-angle-right am-fr am-margin-right"></span>
                    </a>
                    <ul class="am-list am-collapse admin-sidebar-sub ${dockerIn!}" id="collapse-docker">
                        <li>
                            <a href="${ctxPath}/admin/docker/node" class="am-cf">
                                <span class="am-icon-linux"></span> 节点管理
                            </a>
                        </li>
                        <li>
                            <a href="${ctxPath}/admin/docker/registry">
                                <span class="am-icon-cubes"></span> 仓库管理
                            </a>
                        </li>
                        <li>
                            <a href="${ctxPath}/admin/docker/images">
                                <span class="am-icon-image"></span> 镜像管理
                            </a>
                        </li>
                        <li>
                            <a href="${ctxPath}/admin/docker/containers">
                                <span class="am-icon-cube"></span> 容器管理
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="admin-parent">
                    <a class="am-cf" data-am-collapse="{target: '#collapse-app'}">
                        <span class="am-icon-gear am-icon-spin"></span> 模块管理
                        <span class="am-icon-angle-right am-fr am-margin-right"></span>
                    </a>
                    <ul class="am-list am-collapse admin-sidebar-sub ${appIn!}" id="collapse-app">
                        <li>
                            <a href="${ctxPath}/admin/app/system_list" class="am-cf">
                                <span class="am-icon-list"></span> 系统列表
                            </a>
                        </li>
                        <li>
                            <a href="${ctxPath}/admin/app/list" class="am-cf">
                                <span class="am-icon-th-list"></span> 应用列表
                            </a>
                        </li>
                        <li>
                            <a href="${ctxPath}/admin/app/recycle">
                                <span class="am-icon-recycle"></span> 应用回收站
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="admin-parent">
                    <a class="am-cf" data-am-collapse="{target: '#collapse-user'}">
                        <span class="am-icon-users"></span> 用户管理
                        <span class="am-icon-angle-right am-fr am-margin-right"></span>
                    </a>
                    <ul class="am-list am-collapse admin-sidebar-sub ${userIn!}" id="collapse-user">
                        <li>
                            <a href="${ctxPath}/admin/user/list" class="am-cf">
                                <span class="am-icon-list"></span> 用户列表
                            </a>
                        </li>
                        <li>
                            <a href="${ctxPath}/admin/user/statistical">
                                <span class="am-icon-line-chart"></span> 用户统计
                            </a>
                        </li>
                        <li>
                            <a href="${ctxPath}/admin/user/recommend">
                                <span class="am-icon-ticket"></span> 用户推广
                            </a>
                        </li>
                        <li>
                            <a href="${ctxPath}/admin/user/level">
                                <span class="am-icon-institution"></span> 用户等级
                            </a>
                        </li>
                        <li>
                            <a href="${ctxPath}/admin/user/login_setting">
                                <span class="am-icon-wrench"></span> 登陆配置
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="admin-parent">
                    <a class="am-cf" data-am-collapse="{target: '#collapse-system'}">
                        <span class="am-icon-gears"></span> 系统配置
                        <span class="am-icon-angle-right am-fr am-margin-right"></span>
                    </a>
                    <ul class="am-list am-collapse admin-sidebar-sub ${systemIn!}" id="collapse-system">
                        <li>
                            <a href="${ctxPath}/admin/system/basic_setting">
                                <span class="am-icon-wrench"></span> 基本配置
                            </a>
                        </li>
                        <li>
                            <a href="${ctxPath}/admin/system/weixin_setting">
                                <span class="am-icon-weixin"></span> 微信配置
                            </a>
                        </li>
                    </ul>
                </li>
            </ul>

            <div class="am-panel am-panel-default admin-sidebar-panel">
                <div class="am-panel-bd">
                    <p><span class="am-icon-bookmark"></span> 通知</p>                                                                       
                    <p>欢迎使用 “JFinal-BBS”， 一个十分简洁清新小巧的java BBS！</p>
                </div>
            </div>
        </div>
    </div>
    <!-- sidebar end -->

    <!-- content start -->
    ${layoutContent}
    <!-- content end -->

</div>

<a class="am-icon-btn am-icon-th-list am-show-sm-only admin-menu" data-am-offcanvas="{target: '#admin-offcanvas'}"></a>

<footer>
    <hr>
    <p class="am-text-center">JFinal-BBS （<a href="http://bbs.dreamlu.net">bbs.dreamlu.net</a>） 版权所有</p>
</footer>

<script type="text/javascript">
function getCtxPath() {
    return "${ctxPath}";
}
</script>
<!--[if lt IE 9]>
<script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="${ctxPath}/static/ext/amazeui/assets/js/polyfill/rem.min.js"></script>
<script src="${ctxPath}/static/ext/amazeui/assets/js/polyfill/respond.min.js"></script>
<script src="${ctxPath}/static/ext/amazeui/assets/js/amazeui.legacy.js"></script>
<![endif]-->
<!--[if (gte IE 9)|!(IE)]><!-->
<script src="${ctxPath}/static/ext/amazeui/assets/js/jquery.min.js"></script>
<script src="${ctxPath}/static/ext/amazeui/assets/js/amazeui.min.js"></script>
<!--<![endif]-->
<script src="${ctxPath}/static/ext/amazeui/assets/js/app.js"></script>
<!-- layer -->
<script src="${ctxPath}/static/ext/layer/layer.js"></script>
<script src="${ctxPath}/static/ext/layer/laytpl.min.js"></script>
<script src="${ctxPath}/static/ext/jquery/jquery.form.min.js"></script>
<script src="${ctxPath}/static/js/admin.js"></script>
</body>
</html>